Package com.cisco.pt.ipc.sim
Interface AsaObjectManager
- All Superinterfaces:
IPCObject
- All Known Implementing Classes:
AsaObjectManagerImpl
Information provided by the PKI file:
\class CAsaObjectManager
\brief CAsaObjectManager is the asa object storage manager class that is used to store and retrieve asa object.
\example network().getDevice("Router0").getObjectManager()
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptioncreateObject(ObjectType type, String objName) Information provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:getObjectAt(int index) Information provided by the PKI file:getObjectByName(String objName) Information provided by the PKI file:intInformation provided by the PKI file:voidnameifChanged(String newName, String oldName) Information provided by the PKI file:voidremoveObjectByName(String objName) Information provided by the PKI file:voidsetMostUse(int mostUse) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Method Details
-
getObjectByName
Information provided by the PKI file:
\brief Returns the asa object based on name \param objName, object name. \return CAsaObject, value is the asa object based on name.- Parameters:
objName- Takes in a parameter of objName- Returns:
- AsaObject Returns a AsaObject
-
createObject
Information provided by the PKI file:
\brief Creates an asa object. \param objName, object name \param type, asa object type, values: eNetwork = 0, eService = 1, eGroupService = 2, eGroupServiceTcp = 3, eGroupServiceUdp = 4, eGroupServiceTcpUdp = 5, eGroupNetwork = 6, eWebvpn = 7 \return CAsaObject, value is the asa object that is newly created.- Parameters:
type- Takes in a parameter of typeobjName- Takes in a parameter of objName- Returns:
- AsaObject Returns a AsaObject
-
removeObjectByName
Information provided by the PKI file:
\brief Remove the asa object based on name \param objName, object name to search with.- Parameters:
objName- Takes in a parameter of objName
-
getNatObjectCount
int getNatObjectCount()Information provided by the PKI file:
\brief Get Number of Nat Objects \return int, value is the number of nat objects that are stored.- Returns:
- int Returns a int
-
getMostUse
int getMostUse()Information provided by the PKI file:
\brief Get the number of static and dynamic nat entries have been used \return int, value is the number of static and dynamic nat entries have been used- Returns:
- int Returns a int
-
setMostUse
void setMostUse(int mostUse) Information provided by the PKI file:
\brief Set the number of static and dynamic nat entries have been used \param mostUse, the number of static and dynamic nat entries have been used- Parameters:
mostUse- Takes in a parameter of mostUse
-
getObjectCount
int getObjectCount()Information provided by the PKI file:
\brief Get the number of asa objects \return int, value is the number of asa objects.- Returns:
- int Returns a int
-
getObjectAt
Information provided by the PKI file:
\brief Get the Asa object at a specified index \param index, index of the asa object to get. Range is (0, getObjectCount()). \return value is the Asa object at the specified index.- Parameters:
index- Takes in a parameter of index- Returns:
- AsaObject Returns a AsaObject
-
nameifChanged
Information provided by the PKI file:
\brief This function updates the asa object that has reference to interface nameIf \param newName, the interface new nameIf \param oldName, the interface old nameIf- Parameters:
newName- Takes in a parameter of newNameoldName- Takes in a parameter of oldName
-